Generate random integers in a specific numerical rangeΒΆ

Generate random integers in a specific numerical range.
Expected output:
24 12 72 13 56 80
import random

for x in range(6):
    print(random.randrange(x, 100), end=' ')

Output:

21 55 48 50 27 5